import Vue from 'vue'
import Router from 'vue-router'
import Main from '@/views/main.vue'
import Home from '@/views/home.vue'
import HelloWorld from '@/components/HelloWorld'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'main',
      component: Main,
			children:[
				{
					path: '/home',
					name: 'home',
					component: Home
				}
			]
    },
		
  ]
})
